<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>个人中心</title>
	<link rel="stylesheet" type="text/css" href="style/top.css" />
    <link rel="stylesheet" type="text/css" href="style/main.css" />
    <link rel="stylesheet" type="text/css" href="style/footer.css" />
    <link rel="stylesheet" type="text/css" href="style/reglog.css" />
	<link rel="stylesheet" type="text/css" href="style/usercenter.css" />
	
  </head>
  
  <body>
	  <!-- 网页头部 -->
	  <%@include file="template/head.jsp" %>
	  
	  <!-- 网页中部 -->
	  <div class="bd1">
    <div class="bd_left1">
    	<img src="${basePath }/upload/${sessionScope.user.headpic }" width="120" height="120" />
        <div class="liebiao">
        	<ul>
            <li>用户名:${sessionScope.user.username }</li>
            <li>积分：${sessionScope.user.score }</li>
            <li>等级：${sessionScope.user.level }</li>
            <li>注册时间：${sessionScope.user.createdate }</li>
            <li>活跃度：${sessionScope.user.active }</li>
            </ul>
        </div>
	</div>
    <div class="bd_right3">
    	<ul>
        	<li><a href="index.jspx?_method=userchange">修改资料</a></li>
            <li><a href="collection.jspx?_method=findMine">我的收藏</a></li>
            <li><a href="article.jspx?_method=findMine">我的帖子</a></li>
            <li><a href="reply.jspx?_method=findmine">我的回帖</a></li>
            <li><a href="message.jspx?_method=findmine">未读消息</a></li>
        </ul>
    </div>
        <div class="change">
        	<h3>修改个人资料</h3>
        	<form action="user.jspx?_method=change" method="post" enctype="multipart/form-data">
        		密码：<input type="password" name="userpwd" value="${sessionScope.user.userpwd }"/><br/>
        		邮箱：<input type="text" name="email" value="${sessionScope.user.email }"/><br/>
        		头像：<input type="file" name="pic"/><br/>
        		<input type="submit" value="确认"/>
        	</form>
        </div>
</div>
	  
	  <!-- 网页尾部 -->
	  <%@include file="template/footer.jsp" %>
  </body>
</html>
